﻿<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="XiaohaoChar.aspx.cs"
    Inherits="Catering.Catering_Page.JieGouJianKong.XiaohaoChar" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<%@ Register Src="../../UCPanle/UCSearchToolByZW.ascx" TagName="UCSearchToolByZW"
    TagPrefix="uc3" %>
<%@ Register Src="~/UCPanle/UCDDLToolWithYearOfMonth.ascx" TagName="UCDDLToolWithYearOfMonth"
    TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="../../Style/head.css" />
    <link rel="stylesheet" type="text/css" href="../../Style/center.css" />
    <link rel="stylesheet" type="text/css" href="../../Style/zhezhao.css" />
    <script src="../../Style/zhezhao.js" type="text/javascript"></script>
    <script src="../../Style/xxk.js" type="text/javascript"></script>
    <script type="text/javascript" src="../Tool_Reporter/js/jquery.min.js"></script>
    <style type="text/css">
        .report_xh_title
        {
            font-weight: bold;
            font-size: 16px;
            color: #0066CC;
        }
    </style>
    <script type="text/javascript">
        function GetDataGroup(title,xtype,data) {
            var xcategory = ['1日', '2日', '3日', '4日', '5日', '6日', '7日', '8日', '9日', '10日', '11日', '12日', '13日', '14日', '15日', '16日', '17日', '18日', '19日', '20日', '21日', '22日', '23日', '24日', '25日', '26日', '27日', '28日', '29日', '30日', '31日'];
            if (xtype == 2) {
                xcategory = ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'];
            }
            var chart;
            var banzuptions = {
                chart: { renderTo: 'container' }, //容器ID
                title: { text: title }, //报表大标题
                //subtitle: { text: '报表小标题' }, //报表小标题
                xAxis: {//x轴
                    type: 'sdf',
                    categories: xcategory,
                    gridLineWidth: 0,
                    labels: { align: 'left', x: -6, y: 16 }
                },
                yAxis: [{ // left y axis
                    title: {
                        text: null
                    },
                    labels: {
                        align: 'left',
                        x: 3,
                        y: 16,
                        formatter: function () {
                            return Highcharts.numberFormat(this.value, 0);
                        }
                    },
                    showFirstLabel: false
                },
                { // right y axis
                    linkedTo: 0,
                    gridLineWidth: 1,
                    opposite: true,
                    title: { text: null },
                    labels: {
                        align: 'right',
                        x: -3,
                        y: 16,
                        formatter: function () {
                            return Highcharts.numberFormat(this.value, 0);
                        }
                    },
                    showFirstLabel: true
                }],
                tooltip: {
                    formatter: function () {
                        return '<b>' + this.x + '：</b><br/>' +
                        this.series.name + '：' + this.y;
                    }
                },
                series: []
            };
            for (var i = 2; i < arguments.length; i++) {
                banzuptions.series[i - 2] = arguments[i];
            }
            chart = new Highcharts.Chart(banzuptions);
        }
    </script>
</head>

<body>
    <form id="Form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <script type="text/javascript" src="../Tool_Reporter/js/highcharts.js"></script>
    <script type="text/javascript" src="../Tool_Reporter/js/modules/exporting.js"></script>
    <script type="text/javascript" src="../Tool_Reporter/js/highslide-full.min.js"></script>
    <script type="text/javascript" src="../Tool_Reporter/js/highslide.config.js" charset="utf-8"></script>
    <div class="xxk_button1">
        <ul>
            <li id="li2_1" class="li_out"><a href="Jiegoufenxi.aspx">累计百分比</a></li>
            <li id="li2_2"><a href="XiaohaoChar.aspx" class="li_out li_over">分类统计</a></li>
            <li id="li2_3"><a href="XiaohaoCharContrast.aspx" class="li_out">分类对比</a></li>
            <li id="li2_4" style="display: none;"><a href="EdibleStatisticsPage.aspx" class="li_out">
                食用油统计</a></li>
        </ul>
    </div>
    <div class="Center_Content" id="div_search" style="display: block">
        <div class="div_0207 left_width500" style="height: 34px; width: 998px; background: url(../Images/div_h1_bg.gif)">
            <table align="left" style="height: 34px" width="100%" border="0" cellspacing="0"
                cellpadding="0" class="ckgl_table">
                <thead>
                    <tr>
                        <td>
                            <uc2:UCDDLToolWithYearOfMonth ID="UCDDLToolWithYearOfMonth1" runat="server" />
                        </td>
                        <td align="right">
                            <asp:LinkButton ID="lbtnTyleChar" runat="server" OnClick="lbtnTyleChar_Click">开始统计</asp:LinkButton>
                        </td>
                        <td width="10">
                        </td>
                    </tr>
                </thead>
            </table>
        </div>
    </div>
    <div class="Center_Content" id="div2_2" style="display: block">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td>
                    <uc3:UCSearchToolByZW ID="UCSearchToolByZW1" runat="server" />
                </td>
            </tr>
            <tr>
                <td height="35" style="border: 1px solid #C2DEF6; border-top: none; background-color: #E5F1FD;"
                    valign="middle" align="center">
                    <asp:Label ID="lblTypeTitle" runat="server" Text="" CssClass="report_xh_title"></asp:Label>
                </td>
            </tr>
        </table>
        <div id="container" style="width:1000px; height: 400px; margin: 0 auto"></div>
    </div>
    </form>
</body>
</html>
